<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>公共基础配置列表</title>
</head>
<body>

<div class="layui-fluid">

    <blockquote class="layui-crumb">系统管理&nbsp;&nbsp;>
        <a lay-href="/funswitch/list.action">公共配置</a>&nbsp;&nbsp;
    </blockquote>

    <div class="layui-card">

        <div class="layui-split">&nbsp;</div>

        <form method="post" action="/funswitch/list.action">
            <div class="layui-form" th:include="funswitch/_query :: query "></div>
        </form>

        <div class="layui-card-body">
            <table class="layui-hide" id="zmn-basecodemap-table" lay-filter="zmn-basecodemap-table"></table>
            <script type="text/html" id="zmn-basecodemap-table-tool">
                <div class="layui-btn-container">
                    <div class="layui-btn-group">
                        <button class="layui-btn layui-btn-sm " th:if="${#authPermit.checkPermit('/funswitch/updateStatus.action')}" lay-event="start">启用</button>
                        <button class="layui-btn layui-btn-sm layui-btn-danger" th:if="${#authPermit.checkPermit('/funswitch/updateStatus.action')}" lay-event="stop">禁用</a></button>
                    </div>
                    <div class="layui-btn-group">
                        <button class="layui-btn layui-btn-sm layui-btn-primary" th:if="${#authPermit.checkPermit('/funswitch/detail.action')}">
                            <i class="layui-icon"></i>
                            <a lay-href="/funswitch/detail.action">添加配置</a>
                        </button>
                    </div>
                </div>
            </script>
        </div>

    </div>
</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        hasEdit: [[${#authPermit.checkPermit('/funswitch/detail.action')}]],
        totalCount: [[${vo.totalCount}]],
        pageSize: [[${vo.pageSize}]],
        pageIndex: [[${vo.pageIndex}]],
        items: [[${items}]]
    };

    layui.config({
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        art_funswitch_list: "funswitch/zmn.art.funswitch.list"
    }).use(['index', 'art_funswitch_list']);

</script>
</body>
</html>